package com.itheima.reggie.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.SetMeal;
import com.itheima.reggie.domain.SetMealDish;
import com.itheima.reggie.vo.MyUtil;

import java.util.List;

public interface SetMealService {
    //分页查询
    Page<SetMeal> findByPage(Integer pageNum, Integer pageSize, String name);

    //添加套餐
    void add(SetMeal setMeal);

    void stopAndStart(Integer status, MyUtil myUtil);

    void deleteByIds(List<Long> ids);

    //根据id查询套餐
    SetMeal findById(Long id);

    void update(SetMeal setMeal);


    //todo
    List<SetMeal> findList(Long id, Integer status);

    /*前端显示套餐下的菜品*/
    List<SetMealDish> findDishesById(Long id);
}
